<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <p>器材名称:<input type="text" name="m_name" value="{{ matter_obj.m_name }}">{{ error3 }}</p>
    <p>器材描述:<input type="text" name="desc" value="{{ matter_obj.desc }}">{{ error4 }}</p>
    <p>编号:<input type="text" name="number" value="{{ matter_obj.number }}">{{ error2}}{{ error5 }}</p>
    <p>时间:<input type="text" name="time" value="{{ matter_obj.time}}">{{ error }}{{ error6 }}</p>
    <p>购买人:<input type="text" name="m_people" value="{{ matter_obj.m_people }}">{{ error }}{{ error7 }}</p>
    <p>实验室名:<input type="text" name="lad_id" value="{{ matter_obj.lad.l_name }}">{{ error1 }}</p>
    <button>提交</button>

</form>
</body>
</html>